Simple_History\WP_REST_Stats_Controller S

Total Complexity 26
Dependencies 7
Dependents 1
Total lines 606
Lines of code 434
Logical lines of code 109
Comment lines 103
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
register_routes()
S
37 1 119
get_date_range_from_request()
S
58 5 17
get_item_schema()
S
49 2 36
get_summary()
S
45 1 46
get_plugins_stats()
S
50 2 30
get_media_stats()
S
52 2 27
get_users_stats()
S
53 2 24
get_content_stats()
S
53 2 24
get_collection_params()
S
52 1 26
get_core_stats()
S
57 1 18
get_items_permissions_check()
S
64 2 10
get_peak_days()
S
60 1 14
get_peak_times()
S
60 1 14
get_activity_overview()
S
60 1 14
__construct()
S
73 1 5
get_default_date_range()
S
63 1 10